<?php
defined('_JEXEC') or die;

// Include the syndicate functions only once
require_once dirname(__FILE__).'/helper.php';

$list	= modProductsCommendedHelper::getList($params);

if(count($list)) {
	require JModuleHelper::getLayoutPath('mod_products_commended', $params->get('layout', 'default'));
}